package com.alks.function.service;

import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.last.PcLastStockRequest;
import com.alks.function.data.request.last.PcSoleStockMessageRequest;
import com.alks.function.data.request.last.SoleSupportingInformationRequest;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.concurrent.ExecutionException;

public interface PcLastStockService {
    ResponseInfo getLastStockCondition();

    ResponseInfo listLastStock(PcLastStockRequest request);

    ResponseInfo getPcLastStockSizeDetail(String lotNo, String partName);

    ResponseInfo getStockMessageInOut(PcSoleStockMessageRequest request);

    ResponseInfo getSoleSupporting(SoleSupportingInformationRequest request) throws ExecutionException, InterruptedException;

    ResponseInfo getSoleSupportingDetail(String lotNo);

    void downloadStockInOut(HttpServletResponse response, PcSoleStockMessageRequest req) throws UnsupportedEncodingException;

}
